package Before826.sheji.Singleton;

public class Singleton1 {
    private Singleton1(){}
    private static Singleton1 single = null;
    public Singleton1 getSingleton(){
        if (single== null) {
            single = new Singleton1();
            return single;
        }
        return single;
    }

}
